#ifndef REGISTRY_SEAT_H
#define REGISTRY_SEAT_H
//******************************************************************************
//*this code is protected by the GNU affero GPLv3
//*author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
//*                        <digital.ragnarok AT gmail dot com>
//******************************************************************************
#define FREEDESKTOP_SEAT_ID_SZ 64
#define FREEDESKTOP_DEFAULT_SEAT_ID "seat0"
struct seat{
  u8 id[FREEDESKTOP_SEAT_ID_SZ];
  u32 caps;
};
s8 seat_bind_post(struct client *c,s32 name,u32 id);
s32 seat_new(u8 *id_seat);
s8 seat_get_pointer(struct client *c,s32 seat_name,u32 pointer_id);
s8 seat_get_keyboard(struct client *c,s32 seat_name,u32 keyboard_id);
void seat_input_change(s32 seat_name);
#endif
